<%-- 
    Document   : index
    Created on : 12-abr-2012, 2:45:58
    Author     : HEspirituM
--%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<div class="container">
    <h1 style="float:left;">Gestión de Eventos</h1>
        <a href="<c:url value='/pages/eventos/new'/>" class="btn btn-primary">Nuevo Evento</a>        
    </div>
    <div class="clear"></div>
    <div class="buscar-form">
        <form:form action="buscar" method="post" commandName="criterioBusqueda">
            <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td><label>Buscar:</label></td>
                    <td>
                        <form:input path="NoEvento" size="10"></form:input>
                    </td>
                    <td>
                        <input type="submit" value="Buscar" class="btn btn-primary"/>
                    </td>
                </tr>
            </table>
        </form:form>
    </div>        
    <br/>
    <table class="table table-striped">
        <tr>
            <th>Alquiler</th>
            <th>Fecha</th>
            <th style="width: 150px;"></th>
            <th style="width: 150px;"></th>
        </tr>
        <c:forEach var="evento" items="${eventos}">
               
        
            
        </c:forEach>
    </table>
</div>
